package com.yxw.live_vod_backend_boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品规格关联实体类 yx_product_specification
 *
 * @author xiexuxin
 * @date 2023-12-12
 */
@Data
@TableName("yx_product_specification")
@ApiModel("商品规格关联实体类")
public class YxProductSpecificationEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "product_specification_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键ID")
    private Long productSpecificationId;

    @ApiModelProperty("商品Id")
    private Long productId;

    @ApiModelProperty("规格ID")
    private Long specificationId;

    @ApiModelProperty("规格名称")
    private String specificationName;

    @ApiModelProperty("规格值")
    private String specificationValue;



}
